<template>
    <div>
        <div>
            <select :value="value" @change="changeValue">
                <option value="01">深圳</option>
                <option value="02">北京</option>
                <option value="03">上海</option>
            </select>
        </div>
    </div>
</template>
<script>
export default {
    name:'shoopingCartChild',
    props:{
        value:String
    },
    data(){
        return{
        }
    },
    methods:{
        changeValue(e){
            this.$emit('input',e.target.value)
        }
    }
}
</script>